package itsm.isperp.module.entity.project;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 项目预算项实体
 * 
 * @author lizx
 * @date 2013-3-25
 */
@Entity
@Table(name = "proj_cost_item")
public class ProjCostItem implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	String id;

	@Column
	float amount;

	@Column
	String projProjectId;

	@Column
	String projCostTemplateId;

	@Column
	String projCostTemplateNodeId;

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}

	public String getProjProjectId() {
		return projProjectId;
	}

	public void setProjProjectId(String projProjectId) {
		this.projProjectId = projProjectId;
	}

	public String getProjCostTemplateId() {
		return projCostTemplateId;
	}

	public void setProjCostTemplateId(String projCostTemplateId) {
		this.projCostTemplateId = projCostTemplateId;
	}

	public String getProjCostTemplateNodeId() {
		return projCostTemplateNodeId;
	}

	public void setProjCostTemplateNodeId(String projCostTemplateNodeId) {
		this.projCostTemplateNodeId = projCostTemplateNodeId;
	}

}
